package com.zjc.yohoshop.mvp.model;

import com.zjc.lib_core.http.MResponseManager;
import com.zjc.lib_core.mvp.model.BaseModel;
import com.zjc.yohoshop.bean.ShoesEntity;
import com.zjc.yohoshop.mvp.contract.ShoesFragmentContract;
import com.zjc.yohoshop.network.API;

import javax.inject.Inject;

import io.reactivex.Observable;

public class ShoesFragmentModel extends BaseModel implements ShoesFragmentContract.ShoesFragmentIModel {

    @Inject
    public ShoesFragmentModel(){}

    @Override
    public Observable<ShoesEntity> shoesList(String request) {
        return MResponseManager.obtainRetrofit(API.class).shoes_list_request(request);
    }

    @Override
    public void destroy() {

    }

}
